# $Id: PKGBUILD 149455 2012-02-08 03:17:17Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=qalculate-kde
pkgver=0.9.7
pkgrel=3
pkgdesc="KDE frontend for libqalculate"
arch=('i686' 'x86_64')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libqalculate' 'kdelibs3' 'cln')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/qalculate/${pkgname}-${pkgver}.tar.gz)
sha1sums=('fa0db8a3fb80264328770c4bbcbc0892a4d4ce91')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/opt/kde --without-arts
  make
}

package() {
 cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
